@space: 24px;
@border_light: #d9d9d9;
@border_dark: #868686;

.modalDefault() {
  :global {
    .ant-modal-content {
      display: flex;
      flex-direction: column;
      height: 720px;
      overflow: hidden;
      .ant-modal-header {
        padding-top: 18px;
        padding-bottom: 0;
        border-bottom: 0;
      }

      .ant-modal-body {
        flex: 1;
        flex-direction: column;
        padding: @space;
        overflow: hidden;
      }

      .ant-modal-footer {
        padding: @space;
        padding-top: 0;
        border-top: 0;
      }

      .ant-btn + .ant-btn:not(.ant-dropdown-trigger) {
        margin-left: 16px;
      }
      // .ant-input-affix-wrapper {
      //   border: 1px solid #434343;
      // }

      .ant-btn {
        border-radius: 5px;
      }

      // .ant-btn-primary {
      //   background: #18a0fb;
      //   border-color: #18a0fb;
      // }
    }
  }
}

.modal {
  .modalDefault();

  height: 728px;

  .titleDiv {
    display: flex;
    flex-direction: row;
    align-items: center;

    .titleLogo {
      width: 30px;
      height: 30px;
      margin-right: 10px;
    }

    .title {
      font-weight: 500;
      font-size: 18px;
      font-family: PingFang SC;
      line-height: 18px;
      letter-spacing: 0;
      text-align: left;
    }
  }

  .container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;

    .search {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;

      .form {
        display: flex;
        flex: 1;
        flex-direction: row;
        align-items: center;
        margin-right: 20px;

        .select {
          width: 100px;
        }

        .marketList {
          width: 200px;
        }

        :global {
          .ant-row {
            margin-right: 16px;
            margin-bottom: 0;

            &:nth-child(2) {
              width: 200px;
            }
          }
        }
      }
    }

    .antdBaseTable {
      flex: 1;
      margin-top: 17px;
      overflow: hidden;
      // height: 528px;

      .online {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }

      :global {
        .ant-spin-nested-loading {
          width: 100%;
          height: 100%;
          overflow: hidden;
          .ant-spin-container {
            width: 100%;
            height: 100%;
            overflow: hidden;
            // &::after {
            //   background: #222629;
            // }
          }
        }
        .art-table {
          .art-table-header {
            z-index: 100;

            .art-table-header-cell {
              font-weight: bold;
            }
          }
        }
      }
    }
  }

  .submitBtn {
    margin-left: 24px;
  }
}
